<?php
// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');

$id = $params->def('article');
$title = $params->def('title');
$showtitle = $params->def('showTitleArt');
$linktext = $params->def('linktext');
$target = $params->def('targetlink');
$class = $params->def('class_sfx');

$article = modBlocknewsHelper::getArticle($id);

require(JModuleHelper::getLayoutPath('mod_blocknews'));